<%= error_messages_for 'purchase' %>

<!--[form:purchase]-->
<p><label for="purchase_name">Name</label><br/>
<%= text_field 'purchase', 'name'  %></p>

<p><label for="purchase_deal_date">Deal date</label><br/>
<%= date_select 'purchase', 'deal_date'  %></p>
<!--[eoform:purchase]-->

